﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MyHealthByDesign.Views
{
    public partial class ThankYou : System.Web.UI.Page
    {
        Domain.Domain domain = new Domain.Domain();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!domain.IsUserLoggedIn())
            {
                Response.Redirect("../Default.aspx");
            }

            string ahsQuestinnaire= "Health / Fitness Pre-Participation Questionnaire";
            string parqQuestionnaire = "PAR-Q and YOU";

            ltrQuestionnaire.Text = parqQuestionnaire +".";
            hyplnkQuestionnaire.Text = "Why do I need to fill out the " + parqQuestionnaire +"?";
            hyplnkQuestionnaire.NavigateUrl = "";
            btnQuestionnaire.Text = "Continue to the " + parqQuestionnaire +".";
        }

        protected void btnQuestionnaire_Click(object sender, EventArgs e)
        {
            Response.Redirect("ParQ.aspx");
        }
    }
}